<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
	<head th:include="include/includeboot:: header"></head>
	<meta charset="UTF-8">
	<title>代码生成器</title>
	<style>
		/*.modal-lg {
			!*max-width: 95%;*!
			width: 95%;
			max-width: none;
		}*/

		.m-content{
			/*
			left:50%;
			top:50%;
			*/
			margin-left:10%;
			margin-top:5%;
			/*float:left;*/
			width:80%;
			height:80%;
		}
		.m-form.m-form--group-seperator .m-form__group, .m-form.m-form--group-seperator-dashed .m-form__group {
			padding-top: 5px;
			padding-bottom: 5px;
		}
		.modal .modal-content .modal-body {
			padding: 2px;
		}
		.tab-content {
			padding: 0px 0 0 0;
		}
		.modal .modal-dialog .modal-content .modal-body {
			padding: 5px;
		}
	</style>
</head>
<body>
	<div class="m-content">
		<div class="m-portlet">
			<div class="m-portlet__head">
				<div class="m-portlet__head-caption">
					<div class="m-portlet__head-title">
						<h3 class="m-portlet__head-text">
							<span class="m-accordion__item-icon">查询区域</span>
						</h3>
					</div>
				</div>
			</div>
			<!--begin::Form-->
			<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed " method="POST" id="searchForm">
				<!--
				<div class="m-portlet__body">
					<div class="form-group m-form__group row">

					</div>
				</div>
				-->
				<div class="m-portlet__foot m-portlet__no-border m-portlet__foot--fit">
					<div class="m-form__actions m-form__actions--solid">
						<div class="form-group m-form__group row">
							<label class="col-form-label">表名:</label>
							<div class="col-lg-2">
								<input type="text" class="form-control" name="xt_generator_tbname" placeholder="请输入">
							</div>
							<div class="col m--align-left">
								<a class="btn btn-secondary m-btn m-btn--custom m-btn--label-metal m-btn--bolder m-btn--uppercase" onclick="addXtGenerator(0,3)">
									<span>
										<i class="fa flaticon-clock"></i>
										<span>单 表</span>
									</span>
								</a>
								<a class="btn btn-secondary m-btn m-btn--custom m-btn--label-brand" onclick="addXtGenerator(1,4)">
									<span>
										<i class="fa flaticon-list"></i>
										<span>一对多</span>
									</span>
								</a>
								<a  class="btn btn-secondary m-btn m-btn--custom m-btn--label-danger"  href="javascript:delXtGenerator()">
									<span>
										<i class="fa flaticon-delete"></i>
										<span>删 除</span>
									</span>
								</a>
								<a  class="btn btn-secondary m-btn m-btn--custom m-btn--label-brand"  href="/" target="_blank">
									<span>
										<i class="la la-sign-out"></i>
										<span>主页面</span>
									</span>
								</a>
							</div>
							<div class="col m--align-right">
								<a href="javascript:search('datatables')" class="btn btn-accent m-btn m-btn--icon m-btn--wide">
									<span>
										<i class="fa flaticon-search-1"></i>
										<span>检 索</span>
									</span>
								</a>
								<a href="javascript:resetAll()" class="btn btn-secondary m-btn m-btn--custom m-btn--icon">
									<span>
										<i class="fa flaticon-stopwatch"></i>
										<span>重 置</span>
									</span>
								</a>
								<a class="btn btn-secondary m-btn m-btn--custom m-btn--label-accent" href="javascript:search('datatables')">
									<span>
										<i class="fa flaticon-refresh"></i>
										<span>刷 新</span>
									</span>
								</a>
							</div>
						</div>
					</div>
				</div>
			</form>
			<!--end::Form-->
		</div>
		<table id="datatables" class="table table-bordered table-striped table-hover" style="white-space: nowrap; width: 99.9%">
			<thead>
			<tr>
				<th><label class="mt-checkbox mt-checkbox-single mt-checkbox-outline"><input type="checkbox" class="checkall" /><span></span></label></th>
				<th>序号</th>
				<th>表名</th>
				<th>备注</th>
				<th>状态</th>
				<th>生成类型</th>
				<th>创建时间</th>
			</tr>
			</thead>
		</table>
	</div>
</body>

<!-- 单表生成模态框（Modal）开始 -->
<div class="modal fade" id="oneModal" tabindex="-1" role="dialog" aria-labelledby="oneModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-full-width modal-dialog-scrollable" id="oneModalDialog">
		<div class="modal-content">
			<div class="modal-header" style="background: #282a3c">
				<h4 class="modal-title" id="oneModalLabel" style="color: #fff;">
					快速开发
				</h4>
			</div>
			<div class="modal-body" id="oneBody" style="overflow:auto;">
				<div class="card-box">
					<ul id="myTab" class="nav nav-tabs nav nav-tabs tabs-bordered">
						<li class="active"><a href="#tab0" data-toggle="tab"  aria-expanded="false" class="nav-link active show" style="font-size: 16px; font-family: cursive;"><i class="la la-eyedropper"></i>后台配置</a></li>
						<li class="nav-item"><a href="#tab1" data-toggle="tab" aria-expanded="false" class="nav-link" style="font-size: 16px;font-family: cursive;"><i class="la la-repeat"></i>表单基本属性</a></li>
						<li class="nav-item"><a href="#tab2" data-toggle="tab" aria-expanded="false" class="nav-link" style="font-size: 16px;font-family: cursive;"><i class="la la-wrench"></i>配置列表</a></li>
						<li class="nav-item"><a href="#tab3" data-toggle="tab" aria-expanded="false" class="nav-link" style="font-size: 16px;font-family: cursive;"><i class="la la-search"></i>配置查询条件</a></li>
						<li class="nav-item"><a href="#tab4" data-toggle="tab" aria-expanded="false" class="nav-link"  style="font-size: 16px;font-family: cursive;"><i class="la la-rotate-right"></i>表单配置</a></li>
						<li class="nav-item"><a href="#tab5" data-toggle="tab" aria-expanded="false" class="nav-link" style="font-size: 16px;font-family: cursive;color: red"><i class="la la-tasks"></i>从表配置</a></li>
					</ul>
					<div id="myTabContent" class="tab-content">
						<div class="tab-pane active show"  id="tab0">
							<!--后台配置-->
							<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" id="defaultForm" method="post">
								<input type="hidden" id="kf_mode" name="kf_mode">
								<input type="hidden" id="xt_generator_tbcomment" name="xt_generator_tbcomment">
								<input type="hidden" id="one_to_many_type" name="one_to_many_type">
								<input type="hidden" id="is_one_to_many" name="is_one_to_many">
								<input type="hidden" id="xtGeneratorSearchFileJSON" name="xtGeneratorSearchFileJSON">
								<input type="hidden" id="xtGeneratorGridListJSON" name="xtGeneratorGridListJSON">
								<input type="hidden" id="xtGeneratorTableColumnFormJson" name="xtGeneratorTableColumnFormJson">
								<input type="hidden" id="xtGeneratorOneToManyFormListJSON" name="xtGeneratorOneToManyFormListJSON">
								<div class="m-portlet__body">
									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label" jEhcLang="xt_dbinfo_id">数&nbsp;据&nbsp;源</label>
										<div class="col-lg-4">
											<select class="form-control" id="xt_dbinfo_id" name="xt_dbinfo_id" data-bv-notempty data-bv-notempty-message="请选择" placeholder="请选择" onchange="changeDbInfo(this)">
												<option value="">请选择</option>
											</select>
										</div>
									</div>
									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label" jEhcLang="xt_generator_tbname">表&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名</label>
										<div class="col-lg-4">
											<select class="form-control" id="xt_generator_tbname" name="xt_generator_tbname" data-bv-notempty data-bv-notempty-message="请选择" placeholder="请选择" onchange="changeTable(this)">
												<option value="">请选择</option>
											</select>
										</div>
									</div>
									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label" jEhcLang="xt_generator_tb_columnname">主&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;键</label>
										<div class="col-lg-4">
											<select class="form-control" id="xt_generator_tb_columnname" name="xt_generator_tb_columnname" data-bv-notempty data-bv-notempty-message="请选择" placeholder="请选择" onchange="">
												<option value="">请选择</option>
											</select>
										</div>
									</div>
									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label" jEhcLang="xt_generator_model_package">实体包名</label>
										<div class="col-lg-6">
											<input class="form-control" type="text" maxlength="200"  name="xt_generator_model_package" data-bv-notempty data-bv-notempty-message="请输入" placeholder="请输入实体层包名路径">
										</div>
										<label class="col-lg-4 col-form-label">（示例：jehc.cloud.sys.model）</label>
									</div>
									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label" jEhcLang="xt_generator_dao_package">数据包名</label>
										<div class="col-lg-6">
											<input class="form-control" type="text" maxlength="200"  name="xt_generator_dao_package" data-bv-notempty data-bv-notempty-message="请输入" placeholder="输入数据层包名路径">
										</div>
										<label class="col-lg-4 col-form-label">（示例：jehc.cloud.sys.dao）</label>
									</div>
									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label" jEhcLang="xt_generator_service_package">业务包名</label>
										<div class="col-lg-6">
											<input class="form-control" type="text" maxlength="200"  name="xt_generator_service_package" data-bv-notempty data-bv-notempty-message="请输入" placeholder="输入业务层包名路径">
										</div>
										<label class="col-lg-4 col-form-label">（示例：jehc.cloud.sys.service）</label>
									</div>
									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label" jEhcLang="xt_generator_web_package">控制包名</label>
										<div class="col-lg-6">
											<input class="form-control" type="text" maxlength="200"  name="xt_generator_web_package" data-bv-notempty data-bv-notempty-message="请输入" placeholder="输入控制层包名路径">
										</div>
										<label class="col-lg-4 col-form-label">（示例：jehc.cloud.sys.web）</label>
									</div>
									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label" jEhcLang="xt_generator_tb_columnname">控制模式</label>
										<div class="col-lg-2">
											<select class="form-control" name="xt_generator_tb_columnname" placeholder="请选择">
												<option value="1">单例</option>
												<option value="2">多例</option>
											</select>
										</div>
									</div>
									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label" jEhcLang="xt_generator_page_package">页面名称</label>
										<div class="col-lg-4">
											<input class="form-control" type="text" maxlength="64"  name="xt_generator_page_package" data-bv-notempty data-bv-notempty-message="请输入" placeholder="请输入">
										</div>
										<label class="col-lg-6 col-form-label">（示例：输入“sys”后最终文件放入到view/sys目录下）</label>
									</div>
									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label" jEhcLang="xt_generator_path">文件路径</label>
										<div class="col-lg-2">
											<select class="form-control" id="xt_generator_path" name="xt_generator_path" data-bv-notempty data-bv-notempty-message="请选择" placeholder="请选择">
												<option value="">请选择</option>
											</select>
										</div>
									</div>
									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label">批量操作</label>
										<div class="col-lg-2">
											<select class="form-control" name="xt_generator_batch_add_update" id="xt_generator_batch_add_update" placeholder="请选择" onchange="">
												<option value="2">否</option>
												<option value="1">是</option>
											</select>
										</div>
										<label class="col-lg-8 col-form-label" jEhcLang="xt_generator_batch_add_update"><font color="red">批量添加、修改、根据动态条件批量修改功能</font></label>
									</div>

									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label" jEhcLang="rest_url_prefix">请求地址</label>
										<div class="col-lg-4">
											<select class="form-control" name="rest_url_prefix" placeholder="请选择" id="rest_url_prefix" data-bv-notempty data-bv-notempty-message="请选择">
											</select>
										</div>
										<label class="col-lg-6 col-form-label" jEhcLang="xt_generator_batch_add_update"><font color="red">*前端调用服务端请求地址</font></label>
									</div>
									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label" jEhcLang="xt_userinfo_realName">创&nbsp;建&nbsp;&nbsp;人</label>
										<div class="col-lg-2">
											<input class="form-control" type="text" maxlength="200"  name="xt_userinfo_realName" data-bv-notempty data-bv-notempty-message="请输入" placeholder="请输入操作人">
										</div>
									</div>
								</div>
							</form>
							<!--end::Form-->
						</div>
						<div class="tab-pane " id="tab1">
							<!--前台配置-->
							<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" id="defaultFrontForm" method="post">
								<div class="m-portlet__body">
									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label" jEhcLang="xt_generator_page_checkboxmodel">复&nbsp;选&nbsp;&nbsp;框</label>
										<div class="col-lg-2">
											<select class="form-control" name="xt_generator_page_checkboxmodel" placeholder="请选择">
												<option value="1">是</option>
												<option value="">否</option>
											</select>
										</div>
									</div>
									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label" jEhcLang="xt_generator_page_multiSelect">可&nbsp;多&nbsp;&nbsp;选</label>
										<div class="col-lg-2">
											<select class="form-control" name="xt_generator_page_multiSelect" placeholder="请选择">
												<option value="1">是</option>
												<option value="">否</option>
											</select>
										</div>
									</div>
									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label" jEhcLang="xt_generator_page_collapsible">可&nbsp;折&nbsp;&nbsp;叠</label>
										<div class="col-lg-2">
											<select class="form-control" name="xt_generator_page_collapsible" placeholder="请选择">
												<option value="1">是</option>
												<option value="">否</option>
											</select>
										</div>
									</div>
									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label" jEhcLang="xt_generator_page_labelAlign">标签对齐方式</label>
										<div class="col-lg-2">
											<select class="form-control" name="xt_generator_page_labelAlign" placeholder="请选择">
												<option value="1">向左</option>
												<option value="2">向右</option>
												<option value="3">向上</option>
											</select>
										</div>
									</div>
									<div class="form-group m-form__group row">
										<label class="col-lg-1 col-form-label" jEhcLang="xt_generator_page_labelAlign">窗体支持滚动条</label>
										<div class="col-lg-2">
											<select class="form-control" name="xt_generator_page_labelAlign" placeholder="请选择">
												<option value="1">是</option>
												<option value="">否</option>
											</select>
										</div>
									</div>
								</div>
							</form>
							<!--end::Form-->
						</div>
						<div class="tab-pane " id="tab2">
							<!--列表字段配置-->
							<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" id="defaultGridForm" method="post">
								<div class="m-portlet__foot m-portlet__foot--fit">
									<div class="m-form__actions m-form__actions--right">
										<div class="row">
											<div class="col m--align-left">
												<button type="button" class="btn btn-secondary m-btn m-btn--custom m-btn--icon" onclick="refreshColumnList()">
													<span>
														<i class="fa flaticon-refresh"></i>
														<span>刷 新</span>
													</span>
												</button>
											</div>
										</div>
									</div>
								</div>
								<div class="m-portlet__body" id='grid_col_rows' style="height: 300px;overflow: auto;">
									<!--列表字段-->
								</div>
							</form>
							<!--end::Form-->
						</div>
						<div class="tab-pane " id="tab3">
							<!--查询字段配置-->
							<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" id="defaultSearchForm" method="post">
								<div class="m-portlet__foot m-portlet__foot--fit">
									<div class="m-form__actions m-form__actions--right">
										<div class="row">
											<div class="col m--align-left">
												<button type="button" class="btn btn-secondary m-btn m-btn--custom m-btn--icon" onclick="newSearchRows()">
													<span>
														<i class="la la-plus"></i>
														<span>新一行</span>
													</span>
												</button>
											</div>
											<div class="col m--align-right">
												<a href="javascript:resetAll('defaultSearchForm')" class="btn btn-secondary m-btn m-btn--custom m-btn--icon">
													<span><i class="fa fa-repeat"></i><span>重 置</span></span>
												</a>
											</div>
										</div>
									</div>
								</div>
								<div class="m-portlet__body" id='search_col_rows' style="height: 300px;overflow: auto;">
									<!--查询字段-->
								</div>
							</form>
							<!--end::Form-->
						</div>
						<div class="tab-pane " id="tab4">
							<!--新增、编辑、明细配置-->
							<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" id="defaultPageConfigForm" method="post">
								<div class="m-portlet__foot m-portlet__foot--fit">
									<div class="m-form__actions m-form__actions--right">
										<div class="row">
											<div class="col m--align-left">
												<button type="button" class="btn btn-secondary m-btn m-btn--custom m-btn--icon" onclick="refreshPageConfigList()">
													<span>
														<i class="fa flaticon-refresh"></i>
														<span>刷 新</span>
													</span>
												</button>
												<font color=red>注：支持自定义下拉框、文本域、文件框（附件）</font>
											</div>
										</div>
									</div>
								</div>
								<div class="m-portlet__body" id='page_col_rows' style="height: 300px;overflow: auto;">
									<!--列表字段-->
								</div>
							</form>
							<!--end::Form-->
						</div>
						<div class="tab-pane " id="tab5">
							<!--从表配置-->
							<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" id="defaultOneTwoManyForm" method="post">
								<div class="m-portlet__foot m-portlet__foot--fit">
									<div class="m-form__actions m-form__actions--right">
										<div class="row">
											<div class="col m--align-left">
												<button type="button" class="btn btn-secondary m-btn m-btn--custom m-btn--icon" id="newOneTwoMany" onclick="newOneTwoManyRows()">
													<span>
														<i class="la la-plus"></i>
														<span>新一行</span>
													</span>
												</button>
											</div>
											<div class="col m--align-right">

											</div>
										</div>
									</div>
								</div>
								<div class="m-portlet__body" id='one_two_many_tables_rows' style="height: 300px;overflow: auto;">
									<!--从表集合-->
								</div>
							</form>
							<!--end::Form-->
						</div>
					</div>
				</div>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-secondary m-btn m-btn--custom m-btn--icon" data-dismiss="modal">
					<span>
						<i class="fa flaticon-logout"></i>
						<span>关 闭</span>
					</span>
				</button>
				<button type="button" class="btn btn-accent m-btn m-btn--icon m-btn--wide" onclick="doAddXtGenerator();">
					<span>
						<i class="la la-save"></i>
						<span>保 存</span>
					</span>
				</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 单表生成模态框（Modal）结束 -->


<!-- 查询字段配置模态框（Modal）开始 -->
<div class="modal fade" id="searchColModal" tabindex="-1" role="dialog" aria-labelledby="searchColModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg" id="searchColModalDialog">
		<div class="modal-content" >
			<div class="modal-header" style="background: #282a3c;">
				<h4 class="modal-title" id="searchColModalLabel"  style="color:#fff;">
					选择字段
				</h4>
			</div>
			<div class="modal-body" id="searchColBody" style="overflow:auto;">
				<table id="searchDatatables" class="table table-bordered table-striped table-hover" style="white-space: nowrap;">
					<thead>
					<tr>
						<th>序号</th>
						<th>操作</th>
						<th>字段名称</th>
						<th>字段备注【标签值显示值可修改】</th>
						<th>类型</th>
						<th>长度</th>
						<th>必填</th>
					</tr>
					</thead>
				</table>
			</div>
			<div class="modal-footer" style="background: #282a3c;color:#fff;">
				<button type="button" class="btn btn-secondary m-btn m-btn--custom m-btn--icon"  data-dismiss="modal">
					<span>
						<i class="fa flaticon-logout"></i>
						<span>关 闭</span>
					</span>
				</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 查询字段配置模态框（Modal）结束 -->


<!-- 查询表集合模态框（Modal）开始 -->
<div class="modal fade" id="oneTwoManyModal" tabindex="-1" role="dialog" aria-labelledby="oneTwoManyModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg" id="oneTwoManyModalDialog">
		<div class="modal-content" >
			<div class="modal-header" style="background: #282a3c;">
				<h4 class="modal-title" id="oneTwoManyModalLabel"  style="color:#fff;">
					选择表
				</h4>
			</div>
			<div class="modal-body" id="oneTwoManyBody" style="overflow:auto;">
				<table id="oneTwoManyDatatables" class="table table-bordered table-striped table-hover" style="white-space: nowrap;">
					<thead>
					<tr>
						<th>序号</th>
						<th>操作</th>
						<th>名称</th>
						<th>表备注【标签值显示值可修改】</th>
					</tr>
					</thead>
				</table>
			</div>
			<div class="modal-footer" style="background: #282a3c;color:#fff;">
				<button type="button" class="btn btn-secondary m-btn m-btn--custom m-btn--icon"  data-dismiss="modal">
					<span>
						<i class="fa flaticon-logout"></i>
						<span>关 闭</span>
					</span>
				</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 查询表集合模态框（Modal）结束 -->


<!-- 查询字段集合模态框（Modal）开始 -->
<div class="modal fade" id="oneTwoManyFkeyModal" tabindex="-1" role="dialog" aria-labelledby="oneTwoManyFkeyModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg" id="oneTwoManyFkeyModalDialog">
		<div class="modal-content" >
			<div class="modal-header" style="background: #282a3c;">
				<h4 class="modal-title" id="oneTwoManyFkeyModalLabel" style="color:#fff;">
					选择字段
				</h4>
			</div>
			<div class="modal-body" id="oneTwoManyFkeyBody" style="overflow:auto;">
				<table id="oneTwoManyFkeyDatatables" class="table table-bordered table-striped table-hover" style="white-space: nowrap;">
					<thead>
					<tr>
						<th>序号</th>
						<th>操作</th>
						<th>字段名称</th>
						<th>字段备注【标签值显示值可修改】</th>
						<th>类型</th>
						<th>长度</th>
						<th>必填</th>
					</tr>
					</thead>
				</table>
			</div>
			<div class="modal-footer" style="background: #282a3c;color:#fff;">
				<button type="button" class="btn btn-secondary m-btn m-btn--custom m-btn--icon"  data-dismiss="modal">
					<span>
						<i class="fa flaticon-logout"></i>
						<span>关 闭</span>
					</span>
				</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 查询字段集合模态框（Modal）结束 -->

<!-- 一对多从表字模态框（Modal）开始 -->
<div class="modal fade" id="oneTwoManyFieldsModal" tabindex="-1" role="dialog" aria-labelledby="oneTwoManyFieldsModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-full-width  modal-full-height" id="oneTwoManyFieldsModalDialog">
		<div class="modal-content" >
			<div class="modal-header" style="background: #282a3c;">
				<h4 class="modal-title" id="oneTwoManyFieldsModalLabel" style="color:#fff;">
					配置字段
				</h4>
			</div>
			<div class="modal-body" id="oneTwoManyFieldsBody" style="overflow: auto;">
				<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" id="defaultOneTwoManyPageConfigForm" method="post">
					<div class="m-portlet__foot m-portlet__foot--fit">
						<div class="m-form__actions m-form__actions--left">
							<input type="hidden" id="otmtm">
							<input type="hidden" id="otmtmId">
						</div>
					</div>
					<div class="m-portlet__body" id='one_two_many_page_col_rows' >
						<!--列表字段-->
					</div>
				</form>
			</div>
			<div class="modal-footer" style="background: #282a3c;color:#fff;">
				<button type="button" class="btn btn-accent m-btn m-btn--icon m-btn--wide" onclick="doSelectOneTwoManyFields();">
					<span>
						<i class="la la-save"></i>
						<span>保 存</span>
					</span>
				</button>
				<button type="button" class="btn btn-secondary m-btn m-btn--custom m-btn--icon" onclick="refreshOneTwoManyPageConfigList()">
					<span>
						<i class="fa flaticon-refresh"></i>
						<span>刷 新</span>
					</span>
				</button>
				<button type="button" class="btn btn-secondary m-btn m-btn--custom m-btn--icon"  data-dismiss="modal">
					<span>
						<i class="fa flaticon-logout"></i>
						<span>关 闭</span>
					</span>
				</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 一对多从表字模态框（Modal）结束 -->

<div th:include="include/includeboot :: footer"></div>
<script type="text/javascript" src="../../../../view/xt-generator/xt-generator-list.js"></script>
<script type="text/javascript" src="../../../../view/xt-generator/xt-generator-add.js"></script>
<script type="text/javascript" src="../../../../view/xt-generator/xt-generator-one-to-many-add.js"></script>
</html> 